From d0c71b1a8497a3047f630cd1926f803a5190d7aa Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 30 Jul 2018 23:19:51 +0200 Subject: Fresh set of tests pre-release --- .../test_status_post[Content warning-None].yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests/cassettes/test_status_post[Content warning-None].yaml') diff --git a/tests/cassettes/test_status_post[Content warning-None].yaml b/tests/cassettes/test_status_post[Content warning-None].yaml index 20e5e6e..3277284 100644 --- a/tests/cassettes/test_status_post[Content warning-None].yaml +++ b/tests/cassettes/test_status_post[Content warning-None].yaml @@ -12,15 +12,15 @@ interactions: method: POST uri: http://localhost:3000/api/v1/statuses response: - body: {string: '{"id":"100369509995988307","created_at":"2018-07-13T21:26:21.347Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content - warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369509995988307","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369509995988307","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py + body: {string: '{"id":"100465732131098625","created_at":"2018-07-30T21:16:54.618Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content + warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100465732131098625","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100465732131098625","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":57,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":113,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"e67c15246992aa7fa6a1f53b60528fac"] + ETag: [W/"53697e4644efc78f723c39b2d18de6e2"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -28,10 +28,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [af6542eb-db8b-4db6-99b3-8a5946431d04] - X-Runtime: ['0.146973'] + X-Request-Id: [93135b11-0373-4312-9a01-38c7b665ba62] + X-Runtime: ['0.177904'] X-XSS-Protection: [1; mode=block] - content-length: ['1523'] + content-length: ['1524'] status: {code: 200, message: OK} - request: body: null @@ -43,13 +43,13 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/statuses/100369509995988307 + uri: http://localhost:3000/api/v1/statuses/100465732131098625 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"e8ad387eb8c1e8596a7c70d18167f567"] + ETag: [W/"0f1c6bd110d3179621345e886e7a34e7"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -57,8 +57,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ed3a5f73-4022-4fe4-ae81-c6bc9b490541] - X-Runtime: ['0.054857'] + X-Request-Id: [2b661161-a789-47e8-b31a-a3343b2d5adb] + X-Runtime: ['0.043701'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3